package cn.xbtop.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.xbtop.mapper.TCertMapper;
import cn.xbtop.bean.TCert;
import cn.xbtop.service.TCertService;
/**
 * @author  Mxb
 * @date  2020/6/6 18:34
 * @version 1.0
 */
@Service
public class TCertServiceImpl implements TCertService{

    @Resource
    private TCertMapper tCertMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tCertMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TCert record) {
        return tCertMapper.insert(record);
    }

    @Override
    public TCert selectByPrimaryKey(Integer id) {
        return tCertMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(TCert record) {
        return tCertMapper.updateByPrimaryKey(record);
    }

}
